$OpenBSD: patch-src_sdl_sdlwelldrawing_cxx,v 1.1 2017/05/21 23:42:17 espie Exp $

Index: src/sdl/sdlwelldrawing.cxx
--- src/sdl/sdlwelldrawing.cxx.orig
+++ src/sdl/sdlwelldrawing.cxx
@@ -72,7 +72,7 @@ void SDLWellDrawingEngine::init(int inum_fields, int i
 
 	fields[i]=SDL_DisplayFormat(surface);
 	SDL_FreeSurface(surface);
-	if(fields[i]>0)
+	if(fields[i] != 0)
 	    clear_field(i);
     }
     bg_color=colors[BackColor];
